//
//  City.m
//  fGeekApp
//
//  Created by Administrator on 15/3/9.
//  Copyright (c) 2015年 cwx. All rights reserved.
//

#import "City.h"

@implementation City

-(City *)initCityInstanceByDict:(NSDictionary *)dict{
    
    if (self = [super init]) {
        self.cityID = [[dict valueForKey:@"city_id"] integerValue];
        self.cityName = [dict valueForKey:@"city_name"];
    }
    return self;
}

+(City *)getCityInstanceByDict:(NSDictionary *)dict{
    return [[self alloc]initCityInstanceByDict:dict];
}


@end
